a1,a2,a3=7,8,9;a4=a1+a2+a3;print(a4);a5=a4/2;a6=(a5*(a5-a1)*(a5-a2)*(a5-a3))**0.5;print(a6)